package it.openHWHackaton.Match;

public class Team {
    private String nomeTeam;
    private TwitterPlayer player1;
    private TwitterPlayer player2;
    
    
    public Team() {
        super();
    }

    public Team(String nomeTeam, TwitterPlayer player1,TwitterPlayer player2) {
        super();
        this.nomeTeam = nomeTeam;
        this.player1 = player1;
        this.player2 = player2;
    }


    public void setNomeTeam(String nomeTeam) {
        this.nomeTeam = nomeTeam;
    }

    public String getNomeTeam() {
        return nomeTeam;
    }

    public void setPlayer1(TwitterPlayer player1) {
        this.player1 = player1;
    }

    public TwitterPlayer getPlayer1() {
        return player1;
    }

    public void setPlayer2(TwitterPlayer player2) {
        this.player2 = player2;
    }

    public TwitterPlayer getPlayer2() {
        return player2;
    }
}
